package com.xjy.system.mapper;

import com.xjy.common.core.domain.entity.SysBudget;
import com.xjy.common.core.mybatisplus.core.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 预算科目信息Mapper接口
 *
 * @author xjy
 * @date 2022-02-07
 */

public interface SysBudgetMapper extends BaseMapperPlus<SysBudget> {
    List<SysBudget> selectBudgetList(@Param("sysBudget") SysBudget sysBudget, @Param("id") Long id);

    int updateBudgetChildren(@Param("budget") List<SysBudget> budget);

    List<Integer> selectBudgetListByRoleId(@Param("roleId") Long roleId,@Param("deptCheckStrictly") boolean deptCheckStrictly);
	List<SysBudget> selectBudgetListAll(@Param("sysBudget") SysBudget sysBudget);
}
